Skip to content

Use PyPI Trusted Publishing for publishing releases - #640

Merged
vishal-bala merged 1 commit into
mainfrom
chore/pypi-trusted-publishing
Jun 30, 2026
Merged

Use PyPI Trusted Publishing for publishing releases#640
vishal-bala merged 1 commit into
mainfrom
chore/pypi-trusted-publishing

Conversation

@limjoobin

@limjoobin limjoobin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Switch PyPI publishing to Trusted Publishing via GitHub OIDC.

Note

Medium Risk
Changes how production packages are authenticated and published; misconfigured PyPI Trusted Publishing or job permissions would block releases until fixed.

Overview
Release publishing no longer uses a long-lived PYPI secret with uv publish. The build-and-publish job now grants id-token: write (and contents: read) and uploads wheels/sdists with pypa/gh-action-pypi-publish@release/v1, which authenticates to PyPI through GitHub OIDC Trusted Publishing.

uv build is unchanged; only the upload step and job permissions differ.

Reviewed by Cursor Bugbot for commit dc048fa. Bugbot is set up for automated code reviews on this repo. Configure here.

@limjoobin
limjoobin requested a review from vishal-bala June 25, 2026 09:58
@jit-ci

jit-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@vishal-bala vishal-bala added the auto:ci Updates to CI/CD workflows and processes label Jun 25, 2026
@vishal-bala
vishal-bala merged commit 34a2575 into main Jun 30, 2026
102 of 104 checks passed
@vishal-bala
vishal-bala deleted the chore/pypi-trusted-publishing branch June 30, 2026 11:14
@applied-ai-release-bot

Copy link
Copy Markdown

🚀 PR was released in v0.23.0 🚀

@applied-ai-release-bot applied-ai-release-bot Bot added the released This issue/pull request has been released. label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:ci Updates to CI/CD workflows and processes released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants